package com.shop.shoporder.service;


import com.shop.shoporder.entity.*;

import java.util.List;
import java.util.Map;

public interface WapGoodsAndSpecService {

    //根据商品专区查询商品价格
    List<IndexGoodsData> selectGoodesAndSpecByzoneId(Map<String,String> map) throws  Exception;

    //根据名称查询商品
//    List<WapGoodsSpec> selectGoodsAndSpaceByGoodsName(String goodsName) throws  Exception;
    List<SearchGoods> selectGoodsAndSpaceByGoodsName(String goodsName) throws  Exception;



    List<IndexGoodsRankData> selectIndexGoodsByzoneIdAndRankId(Map<String,String> map) throws  Exception;

    List<IndexGoodsHYToData> selectIndexGoodsByzoneIAndHY(Map<String,String> map) throws Exception;

    List<IndexGoodsDZToData> selectIndexGoodsByZoneIdAndDZ1(Map<String,String> map)throws Exception;

    List<IndexGoodsDZToData> selectIndexGoodsByZoneIdAndDZ2(Map<String,String> map)throws Exception;

    List<IndexGoodsDZToData> selectIndexGoodsByZoneIdAndDZ3(Map<String,String> map)throws Exception;

    List<IndexGoodsDZToData> selectIndexGoodsByZoneIdAndDZ4(Map<String,String> map)throws Exception;

    List<Goods> selectList();


    //根据专区ID获取首页商品数据
    List<IndexGoods> getIndexGoods(int zoneId);

    //根据专区ID获取首页商品数据
    List<IndexGoods> getIndexGoodsAttr();

    //根据专区ID获取开店商品数据
    List<IndexGoods> getIndexGoodsShop();
}
